package cn.iocoder.yudao.module.tms.controller.admin.bandinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - Band 与订单关联创建/修改 Request VO")
@Data
public class BandOrderSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18009")
    private Long id;

    @Schema(description = "Band Code", requiredMode = Schema.RequiredMode.REQUIRED, example = "CODE15239")
    @NotBlank(message = "Band Code不能为空")
    private String bandCode;

    @Schema(description = "订单信息 Code", requiredMode = Schema.RequiredMode.REQUIRED, example = "CODE24126")
    @NotBlank(message = "订单信息 Code不能为空")
    private String orderCode;

    @Schema(description = "关联的公司ID", example = "2442")
    private Long companyId;

    @Schema(description = "关联金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "28849")
    @NotNull(message = "关联金额不能为空")
    private BigDecimal amount;

}